﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucHotHead.ascx.cs" Inherits="ExpertMIS.UserControl.ucHotHead" %>
<div style="border: #0969a0 1px solid">
    <div style="height: 24px; width: 230px;">
        <img id="imgTitle" runat="server" src="~/imgs/hothead.png" style="border: 0px; height: 24px;
            width: 230px;" />
    </div>
    <div style="min-height: 180px; height: auto; width: 230px; overflow: hidden; font-size: 9pt; line-height:20px;">
        <asp:DataList ID="dlHotQuestion" runat="server" OnItemDataBound="dlHotQuestion_ItemDataBound">
            <ItemTemplate>
                <div style="overflow: hidden; text-align: left; padding-left: 8px;">
                    <asp:Label runat="server" ID="lblDomains"></asp:Label>
                    <asp:HyperLink runat="server" ID="hlQuestion" Text='<%# ExpertMIS.Codes.Utility.CutLongText(Eval("Title").ToString(), 12) %>'
                        NavigateUrl='<%# "~/Forums/QuestionForm.aspx?oid=" +  Eval("OID") %>' Target="_blank"
                        Style="text-decoration: none; color: #595959;"></asp:HyperLink>
                    <asp:Label runat="server" ID="lblReplyCount" Font-Size="9px" ForeColor="Red" Visible="false"></asp:Label>
                </div>
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Left"/>
        </asp:DataList>
    </div>
</div>
